/*
    用户
    author：johnman
    content:Login user
 */
const mongoose = require('mongoose');

var schema = mongoose.Schema({
    name:{
        type:String,
        require:true,
    },
    email:{
        type:String,
        require:true,
    },
    password:{
        type:String,
        require:true,
    }
});

var userModel = mongoose.model('user',schema);
exports.userModel=userModel;
